from build_tools import *

pwd  = PresentDir()
path = [pwd + '/include']

src  = Glob('src/*.c')

if IsDefined(['OPENCC_SAMPLE']):
    src += Glob('samples/*.c')

group = AddCodeGroup('openCC', src, depend = ['PKG_USING_OPENCC'], CPPPATH = path)

Return('group')
